#ifndef ARGDIALOG_H
#define ARGDIALOG_H

#include <QDialog>
#include<QDomElement>
#include<QDomDocument>
#include<QVector>
#include<QStringList>


class QGridLayout;
class QDomAttr;
class QPushButton;
class QLabel;
class QGroupBox;

class argDialog : public QDialog
{
    Q_OBJECT

public:
    argDialog(QDomDocument &rootNode, QWidget *parent = 0);
public slots:
    void changeNode1();//rect
    void changeNode2();//circl
                       //bez trybu manual, - reczne ustawienie w elemencie items
    void changeArg();
signals:
    void dataChanged();

protected:
   QGridLayout *createLayout1();
   QGridLayout *createLayout2();
   QGridLayout *gridLayout1;
   QGridLayout *gridLayout2;
   QStringList atributes1;
   QStringList atributes2;
   QDomElement mainNode1;
   QDomElement mainNode2;
   QDomElement arrangement;
   QDomElement gallery; //potrzebna do arugmentow niewymaganych
   QVector <QDomAttr*> vect1;
   QVector <QDomAttr*> vect2;
   void fillVect1();
   void fillVect2();

   QGroupBox *button1;
   QGroupBox *button2;
   
   QLabel* descriptionLabel;
   QPushButton* exitButton;


};
#endif // ARGDIALOG_H
